package com.tianpengtech.common.generator.model;

public class ColumnInfo {

    private String pkName;
    private String columnName;
    private String constColumnName;
    private String columnRemark;

    private String dataType;
    private String dataTypeName;

    public String getPkName() {
        return pkName;
    }

    public void setPkName(String pkName) {
        this.pkName = pkName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getConstColumnName() {
        return constColumnName;
    }

    public void setConstColumnName(String constColumnName) {
        this.constColumnName = constColumnName;
    }

    public String getColumnRemark() {
        return columnRemark;
    }

    public void setColumnRemark(String columnRemark) {
        this.columnRemark = columnRemark;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getDataTypeName() {
        return dataTypeName;
    }

    public void setDataTypeName(String dataTypeName) {
        this.dataTypeName = dataTypeName;
    }

    public ColumnInfo() {}

    public ColumnInfo(String columnName, String columnRemark, String dataType, String dataTypeName) {

        this.dataType = dataType;
        this.dataTypeName = dataTypeName;
        this.columnName = columnName;
        this.constColumnName = columnName.toUpperCase();
        this.columnRemark = columnRemark;
    }

}
